﻿<Window x:Class="clipSa.Window1"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Setings" Height="286" Width="439" ResizeMode="NoResize" IsEnabled="True" ShowInTaskbar="False" WindowStyle="ToolWindow" WindowStartupLocation="CenterOwner" Icon="arrow_down.ico">
    <Grid Height="245" Width="401">
        <Grid.RowDefinitions>
            <RowDefinition Height="74*" />
            <RowDefinition Height="104*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="12*" />
            <ColumnDefinition Width="357*" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="0*" />
            <ColumnDefinition Width="32*" />
        </Grid.ColumnDefinitions>
        <Label Content="Results catalog" Height="27" HorizontalAlignment="Left" Margin="2,0,0,0" Name="label1" VerticalAlignment="Top" Width="114" Grid.Column="1" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="0,23,0,0" Name="textBoxPath" VerticalAlignment="Top" Width="337" IsReadOnly="True" Grid.Column="1" />
        <Button Content="..." Height="23" HorizontalAlignment="Right" Margin="0,23,12,0" Name="buttonChoiceDir" VerticalAlignment="Top" Width="27" Click="buttonChoiceDir_Click" Grid.Column="1" Grid.ColumnSpan="4" />
        <Label Content="Default format " Height="23" HorizontalAlignment="Left" Margin="0,51,0,0" Name="label2" VerticalAlignment="Top" Width="112" Grid.Column="1" />
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="89,51,0,0" Name="comboBoxFormat" VerticalAlignment="Top" Width="87" ItemsSource="{Binding}" Grid.Column="1">
            <ComboBoxItem IsSelected="False" Content="*.bmp" />
            <ComboBoxItem Content="*.jpeg" />
            <ComboBoxItem Content="*.png" />
        </ComboBox>
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="261,51,0,0" Name="comboBox1" VerticalAlignment="Top" Width="116" Grid.Column="1" ItemsSource="{Binding}" DataContext="{Binding}" Grid.ColumnSpan="4" />
        <CheckBox Content="Use Auto Save option" Height="19" HorizontalAlignment="Left" Margin="0,6,0,0" Name="checkBoxAutoSave" VerticalAlignment="Top" Width="127" Checked="CheckBoxAutoSaveChecked" Unchecked="CheckBoxAutoSaveUnChecked" Grid.Row="1" Grid.Column="1" />
        <Label Content="Mask for file names" Height="24" HorizontalAlignment="Left" Margin="0,31,0,0" Name="label3" VerticalAlignment="Top" Width="123" Grid.Row="1" Grid.Column="1" />
        <TextBox Height="23" Margin="109,31,0,0" Name="textBoxPrefix" VerticalAlignment="Top" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left" Width="86" />
        <TextBox Height="23" HorizontalAlignment="Right" Margin="0,31,23,0" Name="textBoxSufix" VerticalAlignment="Top" Width="139" Grid.ColumnSpan="4" Grid.Row="1" Grid.Column="1" />
        <TextBox Grid.Column="1" Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="118,65,0,0" Name="textMinNN" VerticalAlignment="Top" Width="49" MaxLines="1" DataObject.Pasting="PastingHandler" PreviewTextInput="MinNNKeyDown" />
        <TextBox Grid.Column="1" Grid.ColumnSpan="4" Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="307,65,0,0" Name="textMaxNN" VerticalAlignment="Top" Width="59" MaxLines="1" PreviewTextInput="MaxNNKeyDown" DataObject.Pasting="PastingHandler"/>
        <Label Content="NNN" Height="28" HorizontalAlignment="Left" Margin="191,31,0,0" Name="label4" VerticalAlignment="Top" Width="38" Grid.Row="1" Grid.Column="1" />
        <Button Content="Cancel" Height="23" HorizontalAlignment="Left" Margin="181,108,0,0" Name="buttonCancel" VerticalAlignment="Top" Width="75" Click="ButtonCancel" Grid.Row="1" Grid.Column="1" />
        <Button Content="Save and Close" Height="23" HorizontalAlignment="Right" Margin="0,108,12,0" Name="buttonSave" VerticalAlignment="Top" Width="116" Click="ButtonSaveClick" Grid.ColumnSpan="4" Grid.Row="1" Grid.Column="1" />
        <Label Content="Color depth" Height="23" HorizontalAlignment="Left" Margin="181,51,0,0" Name="label5" VerticalAlignment="Top" Width="72" Grid.Column="1" />
        <Label Content="Min value for NNN" Grid.Column="1" Grid.Row="1" Height="28" HorizontalAlignment="Left" Margin="2,65,0,0" Name="label6" VerticalAlignment="Top" Width="121" />
        <Label Content="Max value for NNN" Grid.Column="1" Grid.Row="1" Height="28" HorizontalAlignment="Right" Margin="0,63,64,0" Name="label7" VerticalAlignment="Top" />
    </Grid>
</Window>
